package cn;

import cn.appsys.config.SpringConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);

        String[] names=context.getBeanDefinitionNames();
        for (String name : names) {
            System.out.println(name);
        }

    }
}
